#!/usr/bin/env python
# encoding: utf-8
'''
@author: wanyongtao
@contact: wanyongtao@126.com
@file: base_eval.py
@time: 2018/8/2 下午4:58
@desc: 推断基类
'''
class BaseEval(object):

    def __init__(self, config):
        self.config = config  # 配置

    def load_model(self, name):
        """
        加载模型
        """
        raise NotImplementedError

    def predict(self, data):
        """
        预测结果
        """
        raise NotImplementedError